
module.exports = {

    indexPage(ctx) {
        
        ctx.body = `
                <h1>koa2 request post demo</h1>
                <form method="POST" action="/postC">
                    <p>userName</p>
                    <input name="userName" /><br/>
                    <p>nickName</p>
                    <input name="nickName" /><br/>
                    <p>email</p>
                    <input name="email" /><br/>
                    <button type="submit">submit</button>
                </form>
                `

    },

} 